package com.example.zhunongzonghe.exception;

import lombok.Getter;

@Getter
public class ServiceExecption extends RuntimeException{
    private Integer code;
    private String msg;

    public ServiceExecption(String msg){
        this.msg = msg;
    }

    public ServiceExecption(Integer code,String msg){
        this.code = code;
        this.msg = msg;
    }
}
